<?php
    include_once("../../service/commentService.php");
    if(isset($_POST["c"])){
        $c = $_POST["c"];
        $s = $_POST["s"];
        if($s == "true"){
            echo approveComment($c);
        }else{
            echo disableComment($c);
        }
    }
    
    
?>
